<%@ taglib uri="http://www.opensymphony.com/sitemesh/page" prefix="pages"%>
<%@ taglib uri="http://www.opensymphony.com/sitemesh/decorator" prefix="decorator" %>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" 
"http://www.w3.org/TR/html4/strict.dtd">
<html>
    <head>
    	<meta http-equiv="content-type" content="text/html; charset=UTF-8">
		<title><decorator:title default="Snippetr" /></title>
		<link rel="stylesheet" type="text/css" href="http://yui.yahooapis.com/2.8.1/build/reset-fonts-grids/reset-fonts-grids.css">
        <link href="http://alexgorbatchev.com/pub/sh/current/styles/shThemeDefault.css" rel="stylesheet" type="text/css" />

		<link rel="stylesheet" type="text/css" href="/css/wforms.css"/>
        <link rel="stylesheet" type="text/css" href="/css/main.css"/>
       <decorator:head />
       <script src="/js/wforms_pack.js" type="text/javascript"></script>
    </head>
    <body>
		<div id="doc4" class="yui-t3">
		   
		 <div id="hd">
	   		<div class="mainheader">
		   		<a href="/"><img src="/images/snippetr-logo.png" alt="Snippetr" /></a>
		   		<pages:applyDecorator page="/header.groovy" name="blank" />
	   		</div>
	   		<div class="notifications">
	   			<p>You can now add new snippets via instant messaging. Just add <em>snippetr@appspot.com</em> to your contact list and start send snippets.</p>
	   		</div>
		 </div> 
		   
		 <div id="bd">
			<div id="yui-main">
			   <div class="yui-b">
				<decorator:body />
			   </div>   
			</div>
			 <div class="yui-b">
				<pages:applyDecorator page="/snippet/latestSnippets.groovy" name="blank" />			 
			 </div>
		 </div> 
		  
   		 <div id="ft">
   		 	<center>
   		    <p>&copy; 2010 &mdash; <b>by Fabio Uechi</b></p> 
            <p>Powered by <b>Gaelyk</b> and <b>Groovy</b></p>
            </center> 
   		 </div> 
   		 
		</div>
		
		<script src="http://alexgorbatchev.com/pub/sh/current/scripts/shCore.js" type="text/javascript"></script>
		<script src="http://alexgorbatchev.com/pub/sh/current/scripts/shAutoloader.js" type="text/javascript"></script>        
		<!-- Finally, to actually run the highlighter, you need to include this JS on your page -->
		<script type="text/javascript">
			function path()
			{
			  var args = arguments,
			      result = []
			      ;
			       
			  for(var i = 0; i < args.length; i++)
			      result.push(args[i].replace('@', 'http://alexgorbatchev.com/pub/sh/current/scripts/'));
			       
			  return result
			};
			 
			SyntaxHighlighter.autoloader.apply(null, path(
			  'applescript            @shBrushAppleScript.js',
			  'actionscript3 as3      @shBrushAS3.js',
			  'bash shell             @shBrushBash.js',
			  'coldfusion cf          @shBrushColdFusion.js',
			  'cpp c                  @shBrushCpp.js',
			  'c# c-sharp csharp      @shBrushCSharp.js',
			  'css                    @shBrushCss.js',
			  'delphi pascal          @shBrushDelphi.js',
			  'diff patch pas         @shBrushDiff.js',
			  'erl erlang             @shBrushErlang.js',
			  'groovy                 @shBrushGroovy.js',
			  'java                   @shBrushJava.js',
			  'jfx javafx             @shBrushJavaFX.js',
			  'js jscript javascript  @shBrushJScript.js',
			  'perl pl                @shBrushPerl.js',
			  'php                    @shBrushPhp.js',
			  'text plain             @shBrushPlain.js',
			  'py python              @shBrushPython.js',
			  'ruby rails ror rb      @shBrushRuby.js',
			  'sass scss              @shBrushSass.js',
			  'scala                  @shBrushScala.js',
			  'sql                    @shBrushSql.js',
			  'vb vbnet               @shBrushVb.js',
			  'xml xhtml xslt html    @shBrushXml.js'
			));
			SyntaxHighlighter.all();
		</script>
		<script type="text/javascript">
		
		  var _gaq = _gaq || [];
		  _gaq.push(['_setAccount', 'UA-3597377-4']);
		  _gaq.push(['_trackPageview']);
		
		  (function() {
		    var ga = document.createElement('script'); ga.type = 'text/javascript'; ga.async = true;
		    ga.src = ('https:' == document.location.protocol ? 'https://ssl' : 'http://www') + '.google-analytics.com/ga.js';
		    var s = document.getElementsByTagName('script')[0]; s.parentNode.insertBefore(ga, s);
		  })();
		
		</script>		
    </body>
</html>